﻿//-----------------------------------------------------------------------
// <copyright file="Enumerations.cs" company="FastNET Services">
//     Copyright (c) 2008-2009. All Rights Reserved.
// </copyright>
// <license>
//     GPLv2
// </license>
// <warranty>
//     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
//     BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
//     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
//     DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
//     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// </warranty>
//-----------------------------------------------------------------------

namespace GateShift.Client.Libraries.Networking
{
    /// <summary>
    /// Enumeration used to refer to why a connection failed
    /// </summary>
    public enum ConnectFailReason
    {
        /// <summary>
        /// Reason is unknown
        /// </summary>
        Unknown = -1,

        /// <summary>
        /// Attempt to connect to the server has timed out
        /// </summary>
        ConnectionTimedOut = 0,

        /// <summary>
        /// Server could not be found or contacted
        /// </summary>
        EndPointNotFound = 1
    }
}
